package com.icloud.article.boot.vo;

import com.icloud.article.boot.model.Attachment;
import com.icloud.article.boot.model.Collect;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;


@ApiModel("收藏记录vo")
@Data
public class CollectVo extends Collect {

    @ApiModelProperty("帖子内容")
    private String articleContent;

    @ApiModelProperty("帖子点赞数量")
    private Long articleUpvoteCount;

    @ApiModelProperty("是否已点赞，true:是 false：未点赞")
    private Boolean isUpvote;

    @ApiModelProperty("帖子附件列表")
    private List<Attachment> articleAttachments;
}
